Feature: Modificar POST agregar imagen
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 44.107s |
Scenario: Como un usuario inicio sesión y edito un post agrego una imagen
Before
0m 1.054s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 0.679s
And
I wait for 1 seconds
0m 1.110s
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
0m 0.184s
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
0m 0.148s
And
I wait for 1 seconds
0m 1.121s
Then
I click element with xpath "<BTN_SIGNIN_EID>"
0m 0.214s
And
I wait for 1 seconds
0m 1.160s
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
0m 0.196s
And
I wait for 1 seconds
0m 1.110s
And
I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.182s
And
I wait for 1 seconds
0m 1.104s
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
0m 0.164s
And
I wait for 5 seconds
0m 5.339s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.191s
And
I wait for 5 seconds
0m 5.249s
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
0m 0.384s
And
I wait for 5 seconds
0m 5.258s
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
0m 0.340s
And
I click element with xpath "<POST_ONLIST_CLASS>"
0m 0.186s
And
I wait for 1 seconds
0m 1.233s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.289s
And
Enter on element with xpath "<CONTENT_ECLASS>"
0m 0.262s
And
I wait for 1 seconds
0m 1.258s
Then
I click element with xpath "<PLUS_ADD_ECLASS>"
0m 0.404s
And
I wait for 2 seconds
0m 2.287s
Then
I click element with xpath "<UNSPLASH_XPATH>"
0m 0.667s
And
I wait for 3 seconds
0m 3.339s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.341s
And
I wait for 3 seconds
0m 3.249s
And
I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.296s
And
I wait for 1 seconds
0m 1.237s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.326s
And
I wait for 3 seconds
0m 3.264s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.277s
After
0m 0.005s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 1 seconds
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And
I wait for 1 seconds
Then
I click element with xpath "<BTN_SIGNIN_EID>"
And
I wait for 1 seconds
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
And
I wait for 1 seconds
And
I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
And
I wait for 1 seconds
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
And
I click element with xpath "<POST_ONLIST_CLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"
And
Enter on element with xpath "<CONTENT_ECLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<PLUS_ADD_ECLASS>"